

The do file to use in order to obtain coagglomeration measures of industry pairs is:

"Coagglomeration_Metrics_Top_TTWAs_RESTAT.do" (Stata do file)

This do file uses the data from the BSD (Business Structure Database) accessible to authorised users via the UK Data Service Secure Lab.
More details on the data selection can be found in the Web Appendix to the manuscript.

After some cleaning, the do file constructs the coagglomeration measure used in Ellison, Glaeser and Kerr (2010).
See more details and reference in the manuscript.
This metric is constructed using both the number of plants and the employment in a plant.

The do file also produces information on the top three TTWAs where a coagglomerated pair is most represented.

Note that there are also parts of the do file that need to be modified in order to obtain coagglomeration metrics based on:

- Single plants only
- Both Urban and Rural areas
- Manufacturing industries excluding Printing and Publishing
- TTWAs excluding London

The final outputs when applying these restrictions are labelled with a relevant extensions (e.g. _NOL for no London).

The data output from the main do file is:

- EG_all_plants_manuf_ttwa_max_1997-2008.dta


